home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 2,801 to 2,900
/
aol-file-protocol-4400-2801-to-2900.zip
/
AOLDLs
/
TAWUG
/
TAWUG Disk No. 69 (SHK)
/
TAWUG69.shk
/
MAKING.MACROS
(
.txt
)
< prev
next >
Wrap
AppleWorks Document
|
1988-05-01
|
3KB
|
48 lines
O=====|====|====|====|====|====|====|====|====|====|====|====|====|====|====|===
THE FOLLOWING IS THE METHOD I USE TO DEVELOP INVOLVED MACROS
KI use Ultra Macros from Beagle Brothers. It is the BEST!!!! macro program I
Gcurrently on the market and for the foreseeable future. If you have a O
different Macro program you may be able to modify the information and use it.
KAll of my macro files have the macro ba-c (Both Apples-C) as the beginning N
Lmacro. This macro compiles the current file as the working macros. If you O
Mhave an error later in your macro file, at least this macro will be compiled N
and will save you numerous keystrokes when you fix the error and re-compile.
LWhen you write an involved or difficult macro, you may not know exactly the N
Llanguage you must put it into to have it operate properly. In addition, it N
Lis an involved process. By using a blank macro file (well almost blank, it M
Kwill contain ba-c) and a temporary macro, your efforts will be much easier
and better.
I used this method for the macro file BIG.LETTERS on TAWUG #67/68
Method:
- Have the blank macro file on your desktop (mine is below).
- Compile this empty file (ba-c if you have it in your default file)
- Put your cursor below the second long line of hyphens.
I - Press OA-X to begin a temporary macro (I like to use the # 6, after ;
debugging your macro you can rename it anything you want)
- Define your macro.
- When finished press Control @, which ends the temporary macro.
K - Go into the TimeOut Macro Compiler and press 2, Display current macro H
Fset. This will print to your WP file the macro you have just created H
Falong with ba-c. You can now go in and Modify the macro if necessary J
H(Some tokens/keystrokes can't be entered from temporary macros and will
require a slight re-working)
- After any changes do a ba-c to re-compile the new macro.
- Test the macro thoroughly!!!
K - Rename it to an unused key in your default files (If you make a large 5
table of macros you may have a separate macro file)
- Re-compile your new file as the Default file
- That's it.
- Oh yeah, Good Luck.
m a c r o t e s t i n g f i l e
Macro comment0
----- -------
start
-----------------------------------------------------------------------------
the following macro automatically compiles the current awp file.
<ba-c>:<awp $0 = "macro compiler" : oa-esc find rtn rtn>nb!N
Lcompile current file; add a <rtn> token after "nb" to automatically execute O
Mthe first macro in the new set; the n and b at the end select the "no pause" G
Eand compile from "beginning" options in the "macro compiler" timeout
application
-----------------------------------------------------------------------------